package com.zhongwang.mms.module.material.dao;

import com.zhongwang.mms.gen.entity.MInventoryProjectMark;
import com.zhongwang.mms.gen.entity.MInventoryProjectMarkExample;
import com.zhongwang.mms.module.material.model.ImportItyToProModel;
import com.zhongwang.mms.module.material.model.MInventoryProjectMarkModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MInventoryProjectMarkDao {
    long countByExample(MInventoryProjectMarkExample example);

    int deleteByExample(MInventoryProjectMarkExample example);

    int deleteByPrimaryKey(Integer ipmId);

    int insert(MInventoryProjectMark record);

    int insertSelective(MInventoryProjectMark record);

    List<MInventoryProjectMark> selectByExample(MInventoryProjectMarkExample example);

    MInventoryProjectMark selectByPrimaryKey(Integer ipmId);

    int updateByExampleSelective(@Param("record") MInventoryProjectMark record, @Param("example") MInventoryProjectMarkExample example);

    int updateByExample(@Param("record") MInventoryProjectMark record, @Param("example") MInventoryProjectMarkExample example);

    int updateByPrimaryKeySelective(MInventoryProjectMark record);

    int updateByPrimaryKey(MInventoryProjectMark record);

    /*--myself--*/

    /**
     * 库存划项目列表
     *
     * @param inventoryProjectMarkModel
     * @return
     */
    List<MInventoryProjectMarkModel> findMarkListByQuery(MInventoryProjectMarkModel inventoryProjectMarkModel);
}